Upsert a privacy consent
Creates or updates privacy consents for a user.
- If there is no privacy consent for the user, a new one will be created.
- If there exists a same version of privacy consent for the user, only the agreed status will be updated.
Body
Schema for updating privacy consent.
The channel where the privacy consent was given.
"web_login"
The email of the user.
Whether the user agreed to the privacy policy.
The version of privacy consent.
"1.0.0"
The ID of the user.
The date of the privacy consent.
The date and time the entity was created.
The date and time the entity was last updated.
Response
Successful Response
Schema for privacy consent.
The channel where the privacy consent was given.
"web_login"
Whether the user agreed to the privacy policy.
The version of privacy consent.
"1.0.0"
The ID of the user.
The date of the privacy consent.
The date and time the entity was created.
The date and time the entity was last updated.
